package dao;

import entity.Warehouse_Product;

public interface WareHouseProductDao {
	//根据产品id和型号id查找当前产品的库存id
	Integer queryWarehouseProductIdByProductIdAndModelId(Integer productId,Integer ModelId);
	//根据商品id查询库存
	Warehouse_Product queryWarehouse_ProductById(Integer wp_id);
	//根据商品id增加或减少库存
	int updateWarehouse_ProductByIdAndCount(Integer wp_id,Integer count);
	
}
